<table class="outer">
<tr>
<th colspan=2>Properties </th>
</tr>

<{foreach item=propcatO from=$propcatarr}>
<{if is_object($propcatO)}>
<tr>
<td class=head><{$propcatO->getVar('title')}></td>
<td class=head>
<a href="index.php?type=itemprop&func=cat_edit&id=<{$propcatO->getVar('id')}>">Edit</a> |
<a href="index.php?type=itemprop&func=cat_delete_ok&id=<{$propcatO->getVar('id')}>">Delete</a>
</td>
</tr>
<{if $propcatO->proparr|@count}>
	<tr>
	<td colspan=2>
	<table>
	<tr>
	<td >ID</td>	
	<td width=200 wordwrap>TITLE</td>	
	<td >TYPE</td>	
	<td></td>
	</tr>
	<{foreach item=propO from=$propcatO->proparr}>
	<tr>
	<td ><{$propO->getVar('id')}></td>	
	<td width=200 wordwrap><{$propO->getVar('title')}>
	<{if $propO->getVar("measurement")}>
	(<{$propO->getVar("measurement")}>)
	<{/if}>
	</td>	
	<td ><{$propO->getVar('typevalue')}></td>	
	<td>
	<a href="index.php?type=itemprop&func=edit&id=<{$propO->getVar('id')}>">Edit</a> |
<a href="index.php?type=itemprop&func=delete_ok&id=<{$propO->getVar('id')}>">Delete</a>
	</td>
	</tr>
	<{/foreach}>
	</table>
	</td>
	</tr>
<{/if}>	

<{/if}>
<{/foreach}>

</table>
